package com.wty.design.creational.simpleFactory;

public class Test {
    public static void main(String args[]){
        Video video=VideoFactory.getVideo(PythonVideo.class);
        if (video==null){
            return;
        }
        video.produce();
    }
}
